<template>
	<div>
		<div class="notice" v-show="isShowBtn">
			<a class="btn" @click="isShowBtn = false">
				<span class="el-icon-date"></span>
				<span>待办</span>
				<span class="number">(20)</span>
			</a>
		</div>
		<div class="list" v-show="!isShowBtn">
			<div class="top">
				<el-select v-model="value" placeholder="请选择" style="width: 160px;">
			    <el-option key="1" label="11" value="1"></el-option>
			  </el-select>
			  <a class="yuj">
			  	<span class="el-icon-message-solid"></span>
			  	<span>紧急预警</span>
			  </a>
			</div>
			<div class="content">
				<div class="item">
					<div class="head">事项：<span class="black">工单</span></div>
					<div class="row">
						<p>创建人：<span class="black" title="施艳(9400994695)">施艳(9400994695)</span></p>
						<p><span class="small">20/3/20 12:49:28</span></p>
					</div>
					<div class="row">
						<p>所属团队：<span class="black">淘金客服团队</span></p>
						<p><span class="black">平台客服</span></p>
					</div>
					<p>工单类型：<span class="black">客服求助</span></p>
					<div class="desc">
						<p>描述：</p>
						<p>工作环境原因:家里孩子太小，肺炎刚刚出院， 不能再去幼儿园了，孩子在家太吵，无法保证 工作环境安静，故提出辞职，望批准，谢谢。</p>
					</div>
					<div class="handle">
						<a class="btn-handle">查看详情</a>
					</div>
				</div>
				<div class="item">
					<div class="head">事项：<span class="black">工单</span></div>
					<div class="row">
						<p>创建人：<span class="black" title="施艳(9400994695)">施艳(9400994695)</span></p>
						<p><span class="small">20/3/20 12:49:28</span></p>
					</div>
					<div class="row">
						<p>所属团队：<span class="black">淘金客服团队</span></p>
						<p><span class="black">平台客服</span></p>
					</div>
					<p>工单类型：<span class="black">客服求助</span></p>
					<div class="desc">
						<p>描述：</p>
						<p>工作环境原因:家里孩子太小，肺炎刚刚出院， 不能再去幼儿园了，孩子在家太吵，无法保证 工作环境安静，故提出辞职，望批准，谢谢。</p>
					</div>
					<div class="handle">
						<a class="btn-handle">查看详情</a>
					</div>
				</div>
				<div class="item">
					<div class="head">事项：<span class="black">工单</span></div>
					<div class="row">
						<p>创建人：<span class="black" title="施艳(9400994695)">施艳(9400994695)</span></p>
						<p><span class="small">20/3/20 12:49:28</span></p>
					</div>
					<div class="row">
						<p>所属团队：<span class="black">淘金客服团队</span></p>
						<p><span class="black">平台客服</span></p>
					</div>
					<p>工单类型：<span class="black">客服求助</span></p>
					<div class="desc">
						<p>描述：</p>
						<p>工作环境原因:家里孩子太小，肺炎刚刚出院， 不能再去幼儿园了，孩子在家太吵，无法保证 工作环境安静，故提出辞职，望批准，谢谢。</p>
					</div>
					<div class="handle">
						<a class="btn-handle">查看详情</a>
					</div>
				</div>
				<div class="item">
					<div class="head">事项：<span class="black">工单</span></div>
					<div class="row">
						<p>创建人：<span class="black" title="施艳(9400994695)">施艳(9400994695)</span></p>
						<p><span class="small">20/3/20 12:49:28</span></p>
					</div>
					<div class="row">
						<p>所属团队：<span class="black">淘金客服团队</span></p>
						<p><span class="black">平台客服</span></p>
					</div>
					<p>工单类型：<span class="black">客服求助</span></p>
					<div class="desc">
						<p>描述：</p>
						<p>工作环境原因:家里孩子太小，肺炎刚刚出院， 不能再去幼儿园了，孩子在家太吵，无法保证 工作环境安静，故提出辞职，望批准，谢谢。</p>
					</div>
					<div class="handle">
						<a class="btn-handle">查看详情</a>
					</div>
				</div>
			</div>
		</div>
		<a class="btn-return" v-show="!isShowBtn" @click="isShowBtn = true"><span class="el-icon-d-arrow-right"></span></a>
	</div>
</template>

<script>
export default {
  data() {
    return {
      isShowBtn: true,
      value: ''
    }
  },
  created() {
  },
  methods: {
     
  }
}
</script>

<style lang="less" scoped>
.notice {
	position: fixed;
	bottom: 30px;
	right: 0px;
	> .btn {
		background-color: #EC5124;
    width: 200px;
    height: 60px;
    border-radius: 30px 0 0 30px;
    color: #ffffff;
    line-height: 60px;
    font-size: 20px;
    font-weight: 600;
    padding-left: 30px;
    display: inline-block;
    .el-icon-date {
    	font-size: 30px;
    	position: relative;
	    top: 4px;
	    padding-right: 5px;
    }
    .number {
    	padding-left: 10px;
    	font-weight: normal;
    }
	}
}
.btn-return {
	position: fixed;
	bottom: 30px;
	right: 360px;
	width: 60px;
	height: 60px;
	line-height: 60px;
	background-color: #EC5124;
	color: #ffffff;
  line-height: 60px;
  border-radius: 30px 0 0 30px;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  .el-icon-d-arrow-right {
  	font-size: 32px;
  }
}
.btn-handle {
	border: 1px solid #2197FF;
	background-color: #ffffff;
	color: #2197FF;
	border-radius: 2px;
	display: inline-block;
	padding: 6px 10px;
	&.red {
		border: 1px solid #EC5124;
		color: #EC5124;
	}
}
.black {
	color: #1C1C1C;		
}
.small {
	font-size: 12px;
}
.list {
	position: fixed;
	bottom: 0px;
	right: 0px;
	background-color: #ffffff;
	box-shadow: 0 0 8px 3px rgba(0,0,0,0.1);
	width: 360px;
	height: 860px;
	padding: 15px;
	.top {
		display: -webkit-flex;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  .yuj {
			background-color: #EC5124;
	    width: 160px;
	    height: 40px;
	    display: inline-block;
	    color: #ffffff;
	    margin-left: 12px;
	    text-align: center;
	    line-height: 40px;
	    .el-icon-message-solid {
	    	font-size: 20px;
	    	position: relative;
    		top: 2px;
	    }
		}
	}
	.content {
		margin-top: 20px;
		height: 785px;
		overflow-y: auto;
		.item {
			border: 1px solid #ECECEC;
			padding: 0 10px 10px 10px;
			line-height: 22px;
			margin-bottom: 20px;
			.head {
				border-bottom: 1px solid #ECECEC;
				padding: 10px 0;
				color: #757575;
				margin-bottom: 10px;
			}
			.row {
				display: flex;
				> p {
					flex: 1;
					height: 25px;
				}
				> p:first-child {
					flex: 2;
					overflow: hidden;
			    text-overflow: ellipsis;
			    white-space: nowrap;
				}
				> p:last-child {
					text-align: right;
				}
			}
			.desc {
				background-color: #F7F8FA;
				padding: 10px;
				margin-top: 10px;
			}
			.handle {
				padding-top: 10px;
				text-align: right;
			}
		}
	}
}
div::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  /**/
}
div::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
div::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
}
div::-webkit-scrollbar-thumb:hover {
  background: #1C1C1C;
}
div::-webkit-scrollbar-corner {
  background: #179a16;
}
</style>